package com.zmn.mcc.dubbo.interfaces.staff.archives;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.mcc.common.dto.staff.archives.StaffArchivesSimpleDRO;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 员工档案接口类
 */
public interface StaffArchivesRemoteListService {

    /**
     * 根据员工ID查询员工档案基本信息
     *
     * @param staffId 员工ID，必传
     * @return StaffArchivesSimpleDRO 员工档案基本信息
     */
    @ApiOperation(value = "根据员工ID查询员工档案基本信息", response = ResponseDTO.class, tags = {"查询员工档案信息", "员工ID"})
    ResponseDTO<StaffArchivesSimpleDRO> getByStaffId(@NotNull(message = "员工ID不能为空") @Positive(message = "员工ID必须为大于0的正整数") @ApiParam(value = "员工ID", required = true) Integer staffId);
}